package com.example.domet.mapper.imp;

import com.example.domet.bean.Employ;
import com.example.domet.mapper.EmployMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public class EmployMapperimp implements EmployMapper {
    private EmployMapper employMapper;
@Autowired
    public void setEmployMapper(EmployMapper employMapper) {
        this.employMapper = employMapper;
    }

    @Override
    public int deleteByPrimaryKey(Integer empId) {
        return 0;
    }

    @Override
    public int insert(Employ record) {
        return 0;
    }

    @Override
    public Employ selectByPrimaryKey(Integer empId) {
        return null;
    }

    @Override
    public List<Employ> selectAll() {
        return employMapper.selectAll();
    }

    @Override
    public int updateByPrimaryKey(Employ record) {
        return 0;
    }

}
